﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="home12.ascx.cs" Inherits="WebClient.clientCtrls.home" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>


<asp:DataList ID="grdPoduct" runat="server" DataKeyField="id" 
     RepeatColumns="3">
    <ItemTemplate>
    <table  width="100%" border="0" cellpadding="0" cellspacing="5">
    <tbody>
        <tr>
            <td align="center" valign="top" style="text-align:center">
                <a href="ProductDetail.aspx?id=<%# Eval("id") %>">
                 <img src="<%# Eval("pathImage") %>" border="0"  align="middle" />
                 
                </a>
            </td>
        </tr>
        <tr>
            <td align="center" class="tensp"  valign="top"><%#Eval("productName")%></td>
        </tr>
        <tr>
            <td align="center" class="tensp"  valign="top">Giá : <%#Eval("price")%> VND
            <img src="images/new.gif" border="0"  width="32" height="20" />
            </td>
        </tr>
        <tr>
         <td align="center" height = "30">
            <a href="Shoppingcart.aspx?id=<%# Eval("id") %>">
                 <img src="images/btn-chon.gif" border="0"  width="68" height="16"/>
                 
                </a>
                <a href="ProductDetail.aspx?id=<%# Eval("id") %>">
                 <img src="images/btn-chitiet.gif" border="0"  width="68" height="16" />
                 
                </a>
         </td>
        </tr>
        <tr>
        <td background="images/product-line-break.gif"><img src="images/spacer.gif" height="13" width="50"></td>
        </tr>
    </tbody>
    </table>
        
        
    </ItemTemplate>
</asp:DataList>


</ContentTemplate>
</asp:UpdatePanel>